package cn.wawi.common.proxy;

import java.lang.reflect.Method;
import jodd.util.ArraysUtil;
import net.sf.cglib.proxy.MethodProxy;

public class MyAdvice implements Advice{

	public void after(Object obj, Method method, Object[] args,MethodProxy proxy) {
		System.out.println("调用后.....");
	}

	public void before(Object obj, Method method, Object[] args,MethodProxy proxy) {
		System.out.println("调用前....."+method.getName()+":"+ArraysUtil.toString(args));
	}
}
